/*
 * @Description: 服务异常
 * @Author: Haor
 * @Date: 2022-05-09 10:06:25
 * @LastEditTime: 2022-05-09 10:10:05
 * @LastEditors: Haor
 */
import { HttpStatus } from '@nestjs/common'
import { BaseException } from './base.exception'
import { ResponseCode } from "@libs/http.result";

export class ServerException extends BaseException {
	constructor(e) {
        super(ResponseCode.SERVER_ERROR, e.message, HttpStatus.INTERNAL_SERVER_ERROR)
	}
}
